home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 6103 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: magnus.acs.ohio-state.edu!news
  2. From: Xiaoyi Wu <xiaoyi@mozart.bme.ohio-state.edu>
  3. Newsgroups: comp.windows.x,comp.lang.c
  4. Subject: Re: get text strings from keyboard
  5. Date: Thu, 22 Feb 1996 14:07:32 -0500
  6. Organization: The Ohio State University
  7. Message-ID: <312CBEF4.446B@mozart.bme.ohio-state.edu>
  8. References: <Pine.SGI.3.91.960222115042.25886A-100000@mozart.bme.ohio-state.edu> <4gid90$15o@murrow.corp.sgi.com>
  9. NNTP-Posting-Host: mozart.bme.ohio-state.edu
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (X11; I; IRIX 5.3 IP22)
  14.  
  15. Ken Lee wrote:
  16. > In article <Pine.SGI.3.91.960222115042.25886A-100000@mozart.bme.ohio-state.edu>,
  17. > xiaoyi@mozart.bme.ohio-state.edu (Xiaoyi Wu) writes:
  18. > |> what i am doing now is use KeyPress
  19. > |> mask to detect keyboard inputs, and i think i must be missing somehting
  20. > |> here since although XLookupString claims to fill a string buffer i am
  21. > |> only getting ONE character at a time.
  22. > I think you need to re-read your Xlib manual.  KeyPress events normally
  23. > contain only one character at a time.
  24. > --
  25. > Ken Lee, X/Motif Consulting, http://www.rahul.net/kenton/index.shtml
  26.  
  27. yeah i got it. thanks.
  28.  
  29. -- 
  30. Xiaoyi
  31.  
  32. /======================================================================\
  33. | Xiaoyi Wu        || If you can't convince them, confuse them.        |
  34. | 614-421-0934 (h) ||  xiaoyi@mozart.bme.ohio-state.edu                |
  35. | 614-292-1555 (o) ||  http://chopin.bme.ohio-state.edu/~xiaoyi/hi.html|
  36. \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
  37.